package com.imedway.ihe.dtz.atna;

import java.time.Instant;

import org.openehealth.ipf.commons.audit.codes.EventOutcomeIndicator;
import org.openehealth.ipf.commons.audit.model.AuditMessage;
import org.openehealth.ipf.commons.audit.model.AuditSourceIdentificationType;
import org.openehealth.ipf.commons.audit.model.EventIdentificationType;
import org.openehealth.ipf.commons.audit.types.EventId;


public class A {

	public static void main(String[] args) {
		// 创建审计事件
        AuditMessage auditMessage = new AuditMessage();
//        EventId eventID = new 
//        Instant eventDateTime,
//        EventOutcomeIndicator eventOutcomeIndicator
        EventIdentificationType eventIdentification = new EventIdentificationType(null, null, null);
        auditMessage.setEventIdentification(eventIdentification);
        AuditSourceIdentificationType auditSourceIdentification = new AuditSourceIdentificationType(null);
        auditMessage.setAuditSourceIdentification(auditSourceIdentification);



        System.out.println(auditMessage.toString());
	}

}
